<?php
namespace Store\Controller;
use Think\Controller;
class BaseController extends Controller {
	public function _initialize(){
		$sess_auth = session('store');
		if(!$sess_auth){
			$this->error('非法访问！正在跳转到登录页',U('Store/Index/login'));
		}
	}
}